package vip.sweet.biz.modular.heritage.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.sql.Date;

/**
 * @author ASUS
 * @Date 2025/10/4 18:47
 * @Descripition
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("biz_heritage_persons")
@Schema(description = "业务逻辑非遗传承人实体类")
public class BizHeritagePersons {
    @Schema(description = "传承人ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @Schema(description = "传承人名称")
    private String name;
    @Schema(description = "传承人头衔")
    private String title;
    @Schema(description = "传承人头像")
    private String avatar;
    @Schema(description = "传承人贡献")
    private String contribution;
    @Schema(description = "传承人专长")
    private String specialty;
    @Schema(description = "传承人创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
    @Schema(description = "传承人更新时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
